
<!DOCTYPE html>
<html>
<head>
    <meta charset="utf-8"/>
    <title>IconFont</title>
    <link rel="stylesheet" href="demo.css">
    <link rel="stylesheet" href="iconfont.css">
</head>
<body>
    <div class="main markdown">
        <h1>IconFont 图标</h1>
        <ul class="icon_lists clear">
            
                <li>
                <i class="icon iconfont icon-shezhi"></i>
                    <div class="name">设置</div>
                    <div class="fontclass">.icon-shezhi</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-sousuo"></i>
                    <div class="name">搜索</div>
                    <div class="fontclass">.icon-sousuo</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-suo"></i>
                    <div class="name">锁</div>
                    <div class="fontclass">.icon-suo</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-22"></i>
                    <div class="name">邮件</div>
                    <div class="fontclass">.icon-22</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-er-up"></i>
                    <div class="name">向上</div>
                    <div class="fontclass">.icon-er-up</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-diannao"></i>
                    <div class="name">电脑</div>
                    <div class="fontclass">.icon-diannao</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-guanji"></i>
                    <div class="name">关机</div>
                    <div class="fontclass">.icon-guanji</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-weixin"></i>
                    <div class="name">微信</div>
                    <div class="fontclass">.icon-weixin</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-tianjia"></i>
                    <div class="name">添加</div>
                    <div class="fontclass">.icon-tianjia</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-yonghu"></i>
                    <div class="name">用户</div>
                    <div class="fontclass">.icon-yonghu</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-baocun"></i>
                    <div class="name">保存</div>
                    <div class="fontclass">.icon-baocun</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-shujuku"></i>
                    <div class="name">数据库</div>
                    <div class="fontclass">.icon-shujuku</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-x"></i>
                    <div class="name">关闭</div>
                    <div class="fontclass">.icon-x</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-gengxin"></i>
                    <div class="name">更新</div>
                    <div class="fontclass">.icon-gengxin</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-bianji"></i>
                    <div class="name">编辑</div>
                    <div class="fontclass">.icon-bianji</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-buchongiconsvg13"></i>
                    <div class="name">删除</div>
                    <div class="fontclass">.icon-buchongiconsvg13</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-tianjia1"></i>
                    <div class="name">添加</div>
                    <div class="fontclass">.icon-tianjia1</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-xiangxia"></i>
                    <div class="name">向下</div>
                    <div class="fontclass">.icon-xiangxia</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-iconfontdaohangsanjiao"></i>
                    <div class="name">更多-三角</div>
                    <div class="fontclass">.icon-iconfontdaohangsanjiao</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-duihua"></i>
                    <div class="name">对话</div>
                    <div class="fontclass">.icon-duihua</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-riqi"></i>
                    <div class="name">日期</div>
                    <div class="fontclass">.icon-riqi</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-dashujuyuyunjisuanyingyong"></i>
                    <div class="name">大数据与云计算应用</div>
                    <div class="fontclass">.icon-dashujuyuyunjisuanyingyong</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-xiangxiajiantou01"></i>
                    <div class="name">凡米-向下箭头</div>
                    <div class="fontclass">.icon-xiangxiajiantou01</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-jinggao"></i>
                    <div class="name">警告</div>
                    <div class="fontclass">.icon-jinggao</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-jianqie"></i>
                    <div class="name">剪切</div>
                    <div class="fontclass">.icon-jianqie</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-yingyong-copy"></i>
                    <div class="name">应用</div>
                    <div class="fontclass">.icon-yingyong-copy</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-xiangmu"></i>
                    <div class="name">项目</div>
                    <div class="fontclass">.icon-xiangmu</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-androidarrowdropdown"></i>
                    <div class="name">android-arrow-dropdown</div>
                    <div class="fontclass">.icon-androidarrowdropdown</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-androidarrowdropleft"></i>
                    <div class="name">android-arrow-dropleft</div>
                    <div class="fontclass">.icon-androidarrowdropleft</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-androidarrowdropright"></i>
                    <div class="name">android-arrow-dropright</div>
                    <div class="fontclass">.icon-androidarrowdropright</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-androidarrowdropup"></i>
                    <div class="name">android-arrow-dropup</div>
                    <div class="fontclass">.icon-androidarrowdropup</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-androidmorevertical"></i>
                    <div class="name">android-more-vertical</div>
                    <div class="fontclass">.icon-androidmorevertical</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-daibanmoren"></i>
                    <div class="name">待办-默认</div>
                    <div class="fontclass">.icon-daibanmoren</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-jianshao"></i>
                    <div class="name">减少</div>
                    <div class="fontclass">.icon-jianshao</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-xialajiantou"></i>
                    <div class="name">下拉箭头</div>
                    <div class="fontclass">.icon-xialajiantou</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-rili"></i>
                    <div class="name">日历</div>
                    <div class="fontclass">.icon-rili</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-xiangxiajiantou01-copy"></i>
                    <div class="name">凡米-向下箭头</div>
                    <div class="fontclass">.icon-xiangxiajiantou01-copy</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-baocun1"></i>
                    <div class="name">保存</div>
                    <div class="fontclass">.icon-baocun1</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-shuaxin"></i>
                    <div class="name">刷新</div>
                    <div class="fontclass">.icon-shuaxin</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-dashuju"></i>
                    <div class="name">大数据</div>
                    <div class="fontclass">.icon-dashuju</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-tishi"></i>
                    <div class="name">提示</div>
                    <div class="fontclass">.icon-tishi</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-tixing"></i>
                    <div class="name">提醒</div>
                    <div class="fontclass">.icon-tixing</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-xiangmu1"></i>
                    <div class="name">项目</div>
                    <div class="fontclass">.icon-xiangmu1</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-shuoming"></i>
                    <div class="name">说明</div>
                    <div class="fontclass">.icon-shuoming</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-jiagou"></i>
                    <div class="name">架构</div>
                    <div class="fontclass">.icon-jiagou</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-uimaker"></i>
                    <div class="name">uimaker</div>
                    <div class="fontclass">.icon-uimaker</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-shouji"></i>
                    <div class="name">手机</div>
                    <div class="fontclass">.icon-shouji</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-zujian-shu"></i>
                    <div class="name">组件-树</div>
                    <div class="fontclass">.icon-zujian-shu</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-zujian-"></i>
                    <div class="name">组件-12</div>
                    <div class="fontclass">.icon-zujian-</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-tongji"></i>
                    <div class="name">统计</div>
                    <div class="fontclass">.icon-tongji</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-biaodan"></i>
                    <div class="name">表单</div>
                    <div class="fontclass">.icon-biaodan</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-icon-user"></i>
                    <div class="name">用户</div>
                    <div class="fontclass">.icon-icon-user</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-Components"></i>
                    <div class="name">组件</div>
                    <div class="fontclass">.icon-Components</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-xinxi"></i>
                    <div class="name">信息</div>
                    <div class="fontclass">.icon-xinxi</div>
                </li>
            
        </ul>

        <h2 id="font-class-">font-class引用</h2>
        <hr>

        <p>font-class是unicode使用方式的一种变种，主要是解决unicode书写不直观，语意不明确的问题。</p>
        <p>与unicode使用方式相比，具有如下特点：</p>
        <ul>
        <li>兼容性良好，支持ie8+，及所有现代浏览器。</li>
        <li>相比于unicode语意明确，书写更直观。可以很容易分辨这个icon是什么。</li>
        <li>因为使用class来定义图标，所以当要替换图标时，只需要修改class里面的unicode引用。</li>
        <li>不过因为本质上还是使用的字体，所以多色图标还是不支持的。</li>
        </ul>
        <p>使用步骤如下：</p>
        <h3 id="-fontclass-">第一步：引入项目下面生成的fontclass代码：</h3>


        <pre><code class="lang-js hljs javascript"><span class="hljs-comment">&lt;link rel="stylesheet" type="text/css" href="./iconfont.css"&gt;</span></code></pre>
        <h3 id="-">第二步：挑选相应图标并获取类名，应用于页面：</h3>
        <pre><code class="lang-css hljs">&lt;<span class="hljs-selector-tag">i</span> <span class="hljs-selector-tag">class</span>="<span class="hljs-selector-tag">iconfont</span> <span class="hljs-selector-tag">icon-xxx</span>"&gt;&lt;/<span class="hljs-selector-tag">i</span>&gt;</code></pre>
        <blockquote>
        <p>"iconfont"是你项目下的font-family。可以通过编辑项目查看，默认是"iconfont"。</p>
        </blockquote>
    </div>
</body>
</html>
